/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const router = {
  path: '/voucherManagement',
  component: Layout,
  redirect: 'index',
  meta: { title: '凭证管理', icon: 'fas fa-tachometer-alt', noCache: true },
  children: [
    {
      path: 'voucherList',
      component: () => import('@/views/voucherManagement/voucherList'),
      name: 'VoucherList',
      meta: { title: '凭证列表', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'originalDocumentEntry',
      component: () => import('@/views/voucherManagement/originalDocumentEntry'),
      name: 'OriginalDocumentEntry',
      meta: { title: '原始单据录入', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'voucherClassificationStatistics',
      component: () => import('@/views/voucherManagement/voucherClassificationStatistics'),
      name: 'VoucherClassificationStatistics',
      meta: { title: '凭证分类统计表', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'voucherArchiveList',
      component: () => import('@/views/voucherManagement/voucherArchiveList'),
      name: 'voucherArchiveList',
      meta: { title: '凭证归档列表', icon: 'fas fa-tachometer-alt', noCache: true }
    }
  ]
}

export default router
